/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package pl.project.engineering.entities;

import lombok.Data;
import org.apache.tapestry5.beaneditor.NonVisual;
import org.apache.tapestry5.beaneditor.Validate;

/**
 *
 * @author iKrzysiek
 */
@Data
public class AlertEmailAddress {

  @NonVisual
  public String id;

  @Validate("required,regexp")
  private String email;

  @Validate("required")
  private String name;

}
